﻿#ifndef NETDATA_H
#define NETDATA_H

#include <QList>
#include <qvector.h>

//typedef struct
//{
//public:
//	float Value;
//	float Frequency;
//	float Phase;
//} LowerData;

typedef struct {
public:
	QString name_id;
	QString type;
	QVector<double> Value;
	QVector<double> Frequency;
	QVector<double> Phase;
}LowerNode;

class NetData
{
	static  NetData* inst;

public:
	NetData();
	static	NetData* Instance()
	{
		if (inst != NULL)
			return inst;

		inst = new NetData;
		//if (inst != NULL)

		return inst;
	}

	QVector<LowerNode*> lower_data;
};

#endif // NETDATA_H
